package com.zhongkai.netty.main;

import com.zhongkai.netty.server.NettyServer;

public class Main {

	public static void main(String[] args) {
		NettyServer nettyServer = new NettyServer();
		try {
			Integer port = 8080;
			System.out.println("netty server runned, port is " + port);
			nettyServer.runNetty(port);
		} catch (Exception e) {
			e.printStackTrace();
		}
	}
}
